  <div class="col-md-8 ml-sm-auto col-lg-8 px-md-6">
      <h2>文章列表</h2>
      <a href="/admin/newedit/">新建</a>
      <a href="/archives/comearchives">归档</a>
  <div>
    <table class="table table-hover">
      <thead>
        <tr class="row">
          <th class="col-1">#</th>
          <th class="col-2">标题</th>
          <th class="col-8">内容</th>
          <th class="col-1">备注</th>
        </tr>
      </thead>
      
      <tbody>
        {{range $Files := .Files}}
        <tr class="row">
          <th class="col-1"></th>
          <td class="col-2"></td>
          <td class="col-8">{{$Files}}</td>
          <td class="col-1"><a href="/admin/edit{{$Files}}">修改</a> &middot; <a href="/admin/del{{$Files}}">删除</a></td>
        </tr>
        {{end}}
      </tbody>
    </table>

    <nav aria-label="Page navigation example">
      <ul class="pagination justify-content-center">
        <li class="page-item">
          <a class="page-link" href="/admin/fangchan/{{.Previous}}" aria-label="Previous">
            <span aria-hidden="true">Previous</span>
          </a>
        </li>
        {{$Currpage := .Currpage}}
        {{range $Pages := .Pages}}
        <li {{if eq $Currpage $Pages}} class="page-item active" {{else}} class="page-item" {{end}} aria-current="page"><a class="page-link" href="/admin/fang/{{$Pages}}">{{$Pages}}</a></li>
        {{end}}
        <li class="page-item">
          <a class="page-link" href="/admin/fangchan/{{.Next}}" aria-label="Next">
            <span aria-hidden="true">Next</span>
          </a>
        </li>
      </ul>
    </nav>
  </div>

  </div><!-- /.row -->
</main><!-- /.container -->